package com.dk.constant;

public interface RedisKeyConstant {   //用户登录常量key

    //1. 登陆的错误次数key :   user:login:count:fail:用户账号
    public static final String USER_LOGIN_COUNT_FAIL = "user:login:count:fail:";
    //2. 锁定限制登录key :   user:login:time:lock:用户账号
    public static final String USER_LOGIN_TIME_LOCK = "user:login:time:lock:";

    //User表
    public static final String USER_PERMISSION = "user:permission:";
    public static final String USER_ID_KEY = "user:id:";

    //Channel表
    public static final String CHANNEL_PERMISSION = "channel:permission:";
    public static final String CHANNEL_ID_KEY = "channel:id:";

    //Cars
    public static final String CARS_PAGEVIEW = "cars_pageview:";    //访问量

    //pay
    public static final String PAY_WAITPAY = "pay_waitpay:";    //待支付

}
